package application.view 
{
	import core.Size;
	import flare.core.Pivot3D;
	import flare.core.Texture3D;
	import flare.materials.TextureMaterial;
	import flare.primitives.Cube;
	
	/**
	 * ...
	 * @author Tiago Salomon
	 */
	public class FloorView extends Pivot3D 
	{
		private var _texture	:Texture3D;		
		private var _cube		:Cube;
		
		public function FloorView() 
		{
			this._texture = new Texture3D("", new floor());			
			this._cube = new Cube("", Size.CUBE, Size.CUBE / 2, Size.CUBE, 1, new TextureMaterial("", _texture));
			this.addChild(_cube);
		}
		
	}

}